added SSCLI 1.0
[windows-sources.git] / sdk / samples / all in on code / Visual Studio 2010 / VBAzureBingMaps / DAL / UpdateTravel.sql
blob703da1f8cf4187b1f2ce3dc9870a8ce8f706cc35
1 CREATE PROCEDURE [dbo].[UpdateTravel]
2         @PartitionKey nvarchar(200),
3     @RowKey  uniqueidentifier,
4     @Place NVarchar(200),
5     @GeoLocation NVarchar(max),
6     @Time datetime
7 AS
8 BEGIN
9       Update [dbo].[Travel]
10       Set [Place] = @Place,
11       [GeoLocation] = Geography::STGeomFromText(@GeoLocation, 4326),
12       [Time] = @Time
13     Where PartitionKey = @PartitionKey AND RowKey = @RowKey
14 END